//
//  BinaryListNode.swift
//  ArithmeticClass15
//
//  Created by xiangzuhua on 2020/12/3.
//

import Foundation

class BinaryListNode: NSObject {
    var left: BinaryListNode?
    var right: BinaryListNode?
    var pre: BinaryListNode?
    var behind: BinaryListNode?
    var value: Int
    public init(_ value: Int) {
        self.pre = nil
        self.behind = nil
        self.left = nil
        self.right = nil
        self.value = value
    }
}
